Microsoft Cognitive Language Service - Text Analysis (preview:2021-11-01)

2025/07/24 • 2 deleted methods

AnalyzeText_SubmitJob (removed)
Description Submit a collection of text documents for analysis. Specify one or more unique tasks to be executed.
Reference Link ¶

⚼ Request

POST:  /analyze-text/jobs
{
api-version: string ,
body:
{
displayName: string ,
analysisInput:
{
documents:
[
{
id: string ,
text: string ,
language: string ,
}
,
]
,
}
,
tasks:
{
entityRecognitionTasks:
[
{
taskName: string ,
parameters: string ,
}
,
]
,
entityRecognitionPiiTasks:
[
{
taskName: string ,
parameters: string ,
}
,
]
,
keyPhraseExtractionTasks:
[
{
taskName: string ,
parameters: string ,
}
,
]
,
entityLinkingTasks:
[
{
taskName: string ,
parameters: string ,
}
,
]
,
sentimentAnalysisTasks:
[
{
taskName: string ,
parameters: string ,
}
,
]
,
extractiveSummarizationTasks:
[
{
taskName: string ,
parameters: string ,
}
,
]
,
customEntityRecognitionTasks:
[
{
taskName: string ,
parameters: string ,
}
,
]
,
customSingleClassificationTasks:
[
{
taskName: string ,
parameters: string ,
}
,
]
,
customMultiClassificationTasks:
[
{
taskName: string ,
parameters: string ,
}
,
]
,
}
,
}
,
}

⚐ Response (202)

{
operation-location: string ,
}

⚐ Response (default)

{
error:
{
code: enum ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: enum ,
message: string ,
details: object ,
target: string ,
innererror: string ,
}
,
}
,
}
AnalyzeText_JobStatus (removed)
Description Get the status of an analysis job. A job may consist of one or more tasks. Once all tasks are completed, the job will transition to the completed state and results will be available for each task.
Reference Link ¶

⚼ Request

GET:  /analyze-text/jobs/{jobId}
{
api-version: string ,
jobId: string ,
showStats: boolean ,
top: integer ,
skip: integer ,
}

⚐ Response (200)

{
$schema: string ,
}

⚐ Response (default)

{
error:
{
code: enum ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: enum ,
message: string ,
details: object ,
target: string ,
innererror: string ,
}
,
}
,
}